CC = g++
CCFLAG = -g -c
TARGET = kjtx_cap_data

all:	kjtx_cap_data
	@echo "Make Complete!"
.cpp.o:
	${CC} ${CCFLAG} $?



fileini.o: fileini.cpp  fileini.h
	${CC} ${CCFLAG} $<

cap.o: cap.cpp  cap.h
	${CC} ${CCFLAG}  -I"/u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/public/" $<

tcpsocket.o: tcpsocket.cpp  tcpsocket.h
	${CC} ${CCFLAG} $<

kjtx_cap.o: kjtx_cap.cpp
	${CC} ${CCFLAG} -I"/u01/app/oracle/oracle/product/10.2.0/db_1/rdbms/public/" $<

kjtx_cap_data: fileini.o tcpsocket.o kjtx_cap.o cap.o 
	${CC} -o ${TARGET}  -lpthread -lclntsh -L"/u01/app/oracle/oracle/product/10.2.0/db_1/lib/"  $^

clean:
	rm -f ${TARGET} *.o

	

